package cz.data.domain.market.rpc;

import cz.data.common.annotation.DataInner;
import cz.data.domain.market.model.entity.ApiMaskEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "apiMaskServiceFeign", value = "market-domain-api")
public interface ApiMaskServiceFeign {

    @DataInner
    @GetMapping("/inner/apiMasks/api/{id}")
    ApiMaskEntity getApiMaskByApiId(@PathVariable("id") String id);
}
